import Home from '../views/home'
import Login from '../views/login'
import Message from '../views/message'
import Mine from '../views/mine'
import Course from '../views/course'
import Register from '../views/Register'

 const routes =[
  {
    path:'/',
    component: Home,
    meta: {
      isTabbar: 'sheader',
      title: '首页'
    }
  },
  {
    path: '/home',
    components: Home,
    meta: {
      isTabbar: 'sheader',
      title: '首页'
    }
  },
  {
    path:'/login',
    component:Login
  },
  {
    path:'/message',
    components: Message,
    meta: {
      isTabbar: 'navheader',
      title: '消息'
    }
  },
  {
    path:'/mine',
    components: Mine,
    meta: {
      isTabbar: 'navheader',
      title: '我的'
    }
  },
  {
    path:'/course',
    components: Course,
    meta: {
      isTabbar: 'navheader',
      title: '课程'
    }
  },
  {
    path:'/register',
    component:Register
  }
]
export default routes